package com.vxdata.utils.modules.fileListener.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunhongyun
 * @since 2023-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dev_file_base64")
@ApiModel(value="FileBase64对象", description="")
public class FileBase64 implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "类型 (0-视频网,1-政务网)")
    private String type;

    @ApiModelProperty(value = "操作 0-新增, 1-删除")
    private String operate;

    @ApiModelProperty(value = "文件名称")
    private String name;

    @ApiModelProperty(value = "文件绝对路径")
    private String path;

    @ApiModelProperty(value = "base64格式文件")
    private String base64;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "其他信息")
    private String other;


}
